Piwik\Plugins\Dashboard\Model S

Total Complexity 29
Dependencies 4
Dependents 3
Total lines 185
Lines of code 108
Logical lines of code 65
Comment lines 58
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
replaceDashboardWidgets()
A
46 11 38
layoutContainsWidget()
S
61 5 13
getNextIdDashboard()
S
67 2 8
__construct()
S
80 1 3
getLayoutForUser()
S
70 1 6
getAllDashboardsForUser()
S
74 1 4
deleteAllLayoutsForUser()
S
78 1 3
updateDashboardName()
S
72 1 5
deleteDashboardForUser()
S
75 1 4
createNewDashboardForUser()
S
68 1 7
createOrUpdateDashboard()
S
72 1 5
updateLayoutForUser()
S
72 1 5
install()
S
75 1 4
uninstall()
S
80 1 3